home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / crip0021.zip / TECH.DOC < prev    next >
Text File  |  1992-08-27  |  4KB  |  121 lines

  1.  
  2. CRIPPLE SMASH VERSION .0021
  3.  
  4.  
  5. TECHNICAL DOCUMENT
  6.  
  7. The Document is included for anybody who wants to write any 3rd party
  8. utilities for Cripple Smash (yeah right!! :).
  9.  
  10.  
  11. -------------------------------------------------------------------------
  12.  
  13. FILE FORMATS
  14.  
  15.        Cripple Smash uses many data files. The major ones are:
  16.  
  17.  
  18.        SMASHERS.DAT : The file that holds Player Records.
  19.        SMASH.CFG    : The Config File
  20.        NUMDEAD.DAT  : The Number of Living Dead in the Game
  21.        Cripple Files: The Text Files That Store Cripple Info
  22.  
  23. ---------------------------------------------------------------------------
  24. FORMAT OF THE PLAYER RECORD FILE (SMASHERS.DAT)
  25.  
  26.         The Player Record file is a File of TPlayerRec. TplayerRec
  27. is a Turbo Pascal Record setup like this:
  28.  
  29.         
  30.         TPlayerRec = record
  31.          Name             : String[40];
  32.          MaxDamage,
  33.          Current          : Longint;
  34.          Title            : String;
  35.          SmashBaseDamage  : Word;
  36.          Level            : Byte;
  37.          RankPoints       : Longint;
  38.          LastOn           : Word;
  39.          TimesHealed      : Byte;
  40.         end;
  41.  
  42.        NAME            : The Players Name.
  43.        MAXDAMAGE       : The Maximum Amount of Damage player can take.
  44.        CURRENT         : The amount of Damage player can currently take.
  45.        TITLE           : Player's Level Title
  46.        SMASHBASEDAMAGE : The Base Amount of Damage the Player Does.
  47.        LEVEL           : What Level the Player Is. 0 = Dead.
  48.        RANKPOINTS      : The Number of RankPoints the player Has.
  49.        LASTON          : The Last Day the Player was on. 28 = the 28th, etc.
  50.        TIMESHEALED     : Number of times the Player has been healed today.
  51.  
  52. ------------------------------------------------------------------------------
  53. FORMAT OF THE CONFIG FILE
  54.  
  55. The Config File is a text file with 3 lines, like this:
  56.  
  57.   Ben Freeman
  58.   Ben's By the Sea BBS
  59.   2
  60.  
  61. Line 1 is the Sysop's Name. Line 2 is the name of the BBS. Line 3 is
  62. the Comm Port Cripple Smash is setup on.
  63. ------------------------------------------------------------------------------
  64.  
  65. FORMAT OF NUMDEAD.DAT
  66.  
  67.  
  68. NUMDEAD.DAT contains a WORD variable which says How Many Cripples Have
  69. Died. This file is consulted when Player goes to fight The Living Dead.
  70.  
  71. ------------------------------------------------------------------------------
  72.  
  73. FORMAT OF CRIPPLE FILES
  74.  
  75. Cripple Files are text Files setup like this:
  76.  
  77.  H. ROSS PEROT
  78.  1000
  79.  20000
  80.  20000
  81.  You and ▓ close for combat.
  82.  ▓ leaps at you and you get down to some SERIOUS issues.
  83.  ▓ avoids the question for 1000 damage.
  84.  ▓ talks at you with a Texas accent for 2000 damage!!!
  85.  ▓ holds an electronic town meeting at you for 4000 damage!!!
  86.  ▓ avoids the question but you tell him to shut up!!!
  87.  ▓ talks but you cover your ears!!!
  88.  ▓ schedules an electronic town meeting but you don't come!!
  89.  ▓ dies, and his skin sheds and he's really an alien from "V"!
  90.  I'm not dead: lets get down to the real issues.
  91.  
  92. Line 1 is the Name of the Cripple.
  93. Line 2 is the Base Amount of Damage the Cripple does.
  94. Line 3 is the Experience a Player gets for Beating this Cripple.
  95. Line 4 is the Damage the Cripple Can take.
  96. Line 5 is what the game will say in the beginning of combat.
  97. Line 6 is the other thing the game could say at the onset of combat.
  98. Line 7 is when the Cripple hits with Random Attack 1.
  99. Line 8 is when the Cripple hits with Random Attack 2.
  100. Line 9 is when the Cripple hits with Random Attack 3.
  101. Line 10 is when the Cripple MISSES with Random Attack 1.
  102. Line 11 is when the Cripple MISSES with Random Attack 2.
  103. Line 12 is when the Cripple MISSES with Random Attack 3.
  104. Line 13 is what the game says when the Cripple DIES.
  105. Line 14 is what the Cripple says when it Dies.
  106.  
  107.  
  108. Ok, now you want an IN DEPTH explanation. Cripples choose between 3 attacks,
  109. at random. The higher the probability of hitting, the lower the damage done.
  110.  
  111. Here's a chart:
  112.  
  113.       ATTACK #        CHANCE OF HITTING            DAMAGE
  114.  
  115.          1               75 percent           1000(Base Dam. * 1)
  116.          2               50 percent           2000(Base Dam. * 2)
  117.          3               33 percent           4000(Base Dam. * 4)
  118.  
  119.  
  120. Get it?
  121.